package org.jeecg.controller;

import org.jeecg.service.BankAccountService;
import org.jeecg.utils.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/bankAccount")
public class BankAccountController {
    @Autowired
    private BankAccountService bankAccountService;
//    根据id 查询银行账号信息
    @PostMapping("/getBankAccountById")
    public ResponseResult getBankAccountById(Long id){
        return bankAccountService.getBankAccountById(id);
    }
}
